package com.bricker.laboratorymanagement.business.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bricker.laboratorymanagement.business.entity.Laboratory;
import com.bricker.laboratorymanagement.business.model.LabSelectModel;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

public interface LaboratoryService extends IService<Laboratory> {

    // 查询所有实验室
    public Page<Laboratory> getLabByPage(LabSelectModel labSelectModel);

    // 创建或修改实验室
    public void saveOrUpdateLab(Long uId,List<Laboratory> laboratories);

    // 删除实验室
    public void deleteLab(Long uId,List<Long> ids);

}
